<template>
<div>
  <el-color-picker  v-model="colors.primary"  @change="changeTheme"></el-color-picker>
</div>

</template>
<script>
import ThemeConfig from '../../views/utils/theme-color'
export default{
  data () {
    return {
    }
  },
  mixins: [ThemeConfig],
  methods: {
    changeTheme (val) {
      this.colors.primary = val
      this.getIndexStyle()
      this.genStyle()
    }
  }
}
</script>
<style scoped>

</style>
